home *** CD-ROM | disk | FTP | other *** search
- i = 1;
- while(_parent.brickNumber >= i)
- {
- brickPath = _parent.bricks["brick" + i];
- if((brickPath.destructible or brickPath.multiHit) && !brickPath.invisible && !brickPath.brickSmashed && (brickPath.brickType != "bonus" or brickPath.pointsWorth == "T.N.T."))
- {
- if(mcPath.hitTest(brickPath._x,brickPath._y,false))
- {
- brickPath.blownAway = true;
- _parent.removeBrick(brickPath);
- }
- }
- i++;
- }
-